package com.example.demo.dao;

import com.example.demo.entity.MInpurchase;
import com.example.demo.entity.purchasegoods;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface PurchaseMapper {
    int addpurcahseimf(purchasegoods purchasegoods);
    List<purchasegoods> Getallpurchasegoods();
   int  updatepurchasegoods(purchasegoods purchasegoods);
    int deletepurchasegoods(Integer id, String drug_id);
    List<MInpurchase> selectpurchase(String drug_id, String sale_time);

}
